package cn.edu.ujn.finaltest.dao;

import java.util.List;


import cn.edu.ujn.finaltest.dao.Customer;

public interface CustomerMapper {
    int deleteByPrimaryKey(Integer cust_id);

    int insert(Customer row);

    int insertSelective(Customer row);

    Customer selectByPrimaryKey(Integer cust_id);

    int updateByPrimaryKeySelective(Customer row);

    int updateByPrimaryKey(Customer row);
    
    // 客户列表
	public List<Customer> selectCustomerList(Customer customer);
	// 客户数
	public Integer selectCustomerListCount(Customer customer);
	// 查询所有匹配部分客户信息的客户，不与数据字典表产生联系
	public List<Customer> selectCustomerListNoMapping(Customer customer);
}